package com.pro.springbootshop.entityExtend;

import com.pro.springbootshop.entity.Orders;
import lombok.Data;

import java.util.List;

@Data
public class OrderReturn {
    private List<Orders> ordersList;
    private int total;

    public OrderReturn(List<Orders> ordersList, int total) {
        this.ordersList = ordersList;
        this.total = total;
    }
}
